package reflect;

public class Person {
	public String name;//成员变量
	private int age;//成员变量
	public final String password="123";
	
public String getPassword() {
		return password;
	}
public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
public Person(){
	
}
public Person(String name ){
	System.out.println(name);
}

private Person(int name){
	System.out.println(name);//私有构造函数 可以通过反射new对象
}

public void eat(){
	System.out.println("吃");
}
public void run(String address){
	System.out.println("跑到"+address);
	
}

public static void main(String[] args) {
	System.out.println(args[0]);
}
}
